package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 测评结果
 *
 */
@TableName(value = "online_test_result")
public class OnlineTestResult implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<OnlineTestResult> createExample(){
		return new Example<OnlineTestResult>(OnlineTestResult.class);
	}

	/**  */
	@TableId(value = "online_test_result_id")
	private Long onlineTestResultId;

	/**  */
	@TableField(value = "online_test_id")
	private Long onlineTestId;

	/**  */
	@TableField(value = "exam_paper_id")
	private Long examPaperId;

	/** 得分 */
	private Integer score;

	private Integer status ;

	/** 时长 */
	@TableField(value = "test_duration")
	private Integer testDuration;

	/** 答案 [{"examQuestionId":"xx" ,"answer":[] }  ... ] */
	@TableField(value = "answer_detail")
	private String answerDetail;

	@TableField(value = "exam_paper_mirror")
	private String examPaperMirror;

	/**  */
	@TableField(value = "test_time")
	private Date testTime;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getOnlineTestResultId() {
		return this.onlineTestResultId;
	}

	public void setOnlineTestResultId(Long onlineTestResultId) {
		this.onlineTestResultId = onlineTestResultId;
	}

	public Long getOnlineTestId() {
		return onlineTestId;
	}

	public void setOnlineTestId(Long onlineTestId) {
		this.onlineTestId = onlineTestId;
	}

	public Long getExamPaperId() {
		return this.examPaperId;
	}

	public void setExamPaperId(Long examPaperId) {
		this.examPaperId = examPaperId;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getTestDuration() {
		return this.testDuration;
	}

	public void setTestDuration(Integer testDuration) {
		this.testDuration = testDuration;
	}

	public String getAnswerDetail() {
		return this.answerDetail;
	}

	public void setAnswerDetail(String answerDetail) {
		this.answerDetail = answerDetail;
	}

	public String getExamPaperMirror() {
		return examPaperMirror;
	}

	public void setExamPaperMirror(String examPaperMirror) {
		this.examPaperMirror = examPaperMirror;
	}

	public Date getTestTime() {
		return this.testTime;
	}

	public void setTestTime(Date testTime) {
		this.testTime = testTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
